package com.ecfront.pojo;

import java.util.Date;

/**
 * 投诉表
 * 
 * @version 1.0
 * @author zhufeng
 */
public class GoodsComplain {

	private int id;// 投诉ID
	private int sort;// 投诉类别。预留此处
	private String content;// 投诉内容
	private Date date;// 投诉时间
	// 以下是多对一关联
	private User user;// 投诉人ID
	private GoodsImpl goodsImpl;// 投诉商品ID

	public GoodsComplain() {}
	public GoodsComplain(Integer id, GoodsImpl goodsImpl, User user) {
		this.id = id;
		this.goodsImpl = goodsImpl;
		this.user = user;
	}
	public GoodsComplain(Integer id, GoodsImpl goodsImpl, User user,
			Integer sort, String content, Date date) {
		this.id = id;
		this.goodsImpl = goodsImpl;
		this.user = user;
		this.sort = sort;
		this.content = content;
		this.date = date;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public GoodsImpl getGoodsImpl() {
		return goodsImpl;
	}

	public void setGoodsImpl(GoodsImpl goodsImpl) {
		this.goodsImpl = goodsImpl;
	}
}
